final reg = RegExp(r'[A-Z]');
extension StringExtension on String{
  String get snakeCase => replaceAllMapped(
      reg,
        (Match match) => '_${match.group(0)}'
  ).toLowerCase();

}